const express = require('express')
const router = express.Router()

const menuController = require('../controllers/menuController')

// 合法性校验
const expressJoi = require('../schemas//express-joi')
const { reg_login_schema } = require('../schemas/userSchema')

// 用户id菜单
router.post('/getUserMenuIds', menuController.getUserMenuIds)
// 总菜单
router.post('/menuTreeAll', menuController.menuTreeAll)
// menuTreeUser
router.post('/menuTreeUser', menuController.menuTreeUser)
module.exports = router
